<template>
  <div class="blusherRed clearfix">
    <router-link :to="{'name':'productDetails',params:{'url':productData.img_url,'title':productData.title}}">
      <div class="goodsitem">
      <img :src="productData.img_url" />
      <p>{{productData.title}}</p>
      <p class="cost">参考价：￥{{productData.prrice}}</p>
      <!-- <img src="../images/mainOne/goods/icon_shangpingye_pinglun.png" class="speak" /> -->
    </div>
    </router-link>

    <router-link :to="{'name':'productDetails',params:{'url':productData.img_url,'title':productData.title}}">
      <div class="goodsitem1">
      <img :src="productData.img_url" />
      <p>{{productData.title}}</p>
      <p class="cost">参考价：￥{{productData.price}}</p>
      <!-- <img src="../images/mainOne/goods/icon_shangpingye_pinglun.png" class="speak" /> -->
    </div>
    </router-link>
  </div>
</template>

<script>
export default {
  name: "blusherRed",
  data() {
    return {

    }
  },
  props:{
    productData:{
      default:[]
    }
  },
}
</script>

<style scoped lang="less">
.blusherRed {
  width: 652/75rem;
  height: 318/75rem;
  margin: 30/75rem auto;
  border-radius: 15/75rem;
  box-shadow: 2px 2px 20PX gray;
  background: #fff;
  .goodsitem {
    float: left;
    img {
      width: 316/75rem;
      height: 238/75rem;
    }
    p {
      font-size: 20/75rem;
      color: #808080;
      margin: 12/75rem;
    }
  }

  .goodsitem1 {
    float: right;
    img {
      width: 316/75rem;
      height: 238/75rem;
    }
    p {
      font-size: 20/75rem;
      color: #808080;
      margin: 12/75rem;
    }
  }
}
</style>
